package com.ruoyi.coal.modules.coalpile.domain.vo;

import io.swagger.annotations.ApiModelProperty;

public class CutUPCircleVo {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("分割名称")
    private String name;

    @ApiModelProperty("起始角度")
    private Integer startAngle;

    @ApiModelProperty("终止角度")
    private Integer stopAngle;

    @ApiModelProperty("煤场id")
    private Integer coalYardId;

    @ApiModelProperty("煤堆深度")
    private Double coalPileDensity;

    @ApiModelProperty("煤堆基准面")
    private Double coalPileGround;

    private Integer measureType;

    private String coalPileVariety;

    public void setName(String name) {
        this.name = name;
    }

    public void setStartAngle(Integer startAngle) {
        this.startAngle = startAngle;
    }

    public void setStopAngle(Integer stopAngle) {
        this.stopAngle = stopAngle;
    }

    public void setCoalYardId(Integer coalYardId) {
        this.coalYardId = coalYardId;
    }

    public void setCoalPileDensity(Double coalPileDensity) {
        this.coalPileDensity = coalPileDensity;
    }

    public void setCoalPileGround(Double coalPileGround) {
        this.coalPileGround = coalPileGround;
    }

    public void setMeasureType(Integer measureType) {
        this.measureType = measureType;
    }

    public void setCoalPileVariety(String coalPileVariety) {
        this.coalPileVariety = coalPileVariety;
    }

    public boolean equals(Object o) {
        if (o == this)
            return true;
        if (!(o instanceof com.ruoyi.coal.modules.coalpile.domain.vo.CutUPCircleVo))
            return false;
        com.ruoyi.coal.modules.coalpile.domain.vo.CutUPCircleVo other = (com.ruoyi.coal.modules.coalpile.domain.vo.CutUPCircleVo) o;
        if (!other.canEqual(this))
            return false;
        Object this$name = getName(), other$name = other.getName();
        if ((this$name == null) ? (other$name != null) : !this$name.equals(other$name))
            return false;
        Object this$startAngle = getStartAngle(), other$startAngle = other.getStartAngle();
        if ((this$startAngle == null) ? (other$startAngle != null) : !this$startAngle.equals(other$startAngle))
            return false;
        Object this$stopAngle = getStopAngle(), other$stopAngle = other.getStopAngle();
        if ((this$stopAngle == null) ? (other$stopAngle != null) : !this$stopAngle.equals(other$stopAngle))
            return false;
        Object this$coalYardId = getCoalYardId(), other$coalYardId = other.getCoalYardId();
        if ((this$coalYardId == null) ? (other$coalYardId != null) : !this$coalYardId.equals(other$coalYardId))
            return false;
        Object this$coalPileDensity = getCoalPileDensity(), other$coalPileDensity = other.getCoalPileDensity();
        if ((this$coalPileDensity == null) ? (other$coalPileDensity != null) : !this$coalPileDensity.equals(other$coalPileDensity))
            return false;
        Object this$coalPileGround = getCoalPileGround(), other$coalPileGround = other.getCoalPileGround();
        if ((this$coalPileGround == null) ? (other$coalPileGround != null) : !this$coalPileGround.equals(other$coalPileGround))
            return false;
        Object this$measureType = getMeasureType(), other$measureType = other.getMeasureType();
        if ((this$measureType == null) ? (other$measureType != null) : !this$measureType.equals(other$measureType))
            return false;
        Object this$coalPileVariety = getCoalPileVariety(), other$coalPileVariety = other.getCoalPileVariety();
        return !((this$coalPileVariety == null) ? (other$coalPileVariety != null) : !this$coalPileVariety.equals(other$coalPileVariety));
    }

    protected boolean canEqual(Object other) {
        return other instanceof com.ruoyi.coal.modules.coalpile.domain.vo.CutUPCircleVo;
    }

    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        Object $name = getName();
        result = result * 59 + (($name == null) ? 43 : $name.hashCode());
        Object $startAngle = getStartAngle();
        result = result * 59 + (($startAngle == null) ? 43 : $startAngle.hashCode());
        Object $stopAngle = getStopAngle();
        result = result * 59 + (($stopAngle == null) ? 43 : $stopAngle.hashCode());
        Object $coalYardId = getCoalYardId();
        result = result * 59 + (($coalYardId == null) ? 43 : $coalYardId.hashCode());
        Object $coalPileDensity = getCoalPileDensity();
        result = result * 59 + (($coalPileDensity == null) ? 43 : $coalPileDensity.hashCode());
        Object $coalPileGround = getCoalPileGround();
        result = result * 59 + (($coalPileGround == null) ? 43 : $coalPileGround.hashCode());
        Object $measureType = getMeasureType();
        result = result * 59 + (($measureType == null) ? 43 : $measureType.hashCode());
        Object $coalPileVariety = getCoalPileVariety();
        return result * 59 + (($coalPileVariety == null) ? 43 : $coalPileVariety.hashCode());
    }

    public String toString() {
        return "CutUPCircleVo(name=" + getName() + ", startAngle=" + getStartAngle() + ", stopAngle=" + getStopAngle() + ", coalYardId=" + getCoalYardId() + ", coalPileDensity=" + getCoalPileDensity() + ", coalPileGround=" + getCoalPileGround() + ", measureType=" + getMeasureType() + ", coalPileVariety=" + getCoalPileVariety() + ")";
    }

    public String getName() {
        return this.name;
    }

    public Integer getStartAngle() {
        return this.startAngle;
    }

    public Integer getStopAngle() {
        return this.stopAngle;
    }

    public Integer getCoalYardId() {
        return this.coalYardId;
    }

    public Double getCoalPileDensity() {
        return this.coalPileDensity;
    }

    public Double getCoalPileGround() {
        return this.coalPileGround;
    }

    public Integer getMeasureType() {
        return this.measureType;
    }

    public String getCoalPileVariety() {
        return this.coalPileVariety;
    }
}

